/**
 * 
 */
package com.lanswon.qzsmk.service.appManageService;


import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import com.lanswon.qzsmk.base.DwzPage;
import com.lanswon.qzsmk.model.AppClassification;
import com.lanswon.qzsmk.model.AppKind;
import com.lanswon.qzsmk.model.CardProdunctDefinition;
import com.lanswon.qzsmk.vo.ApplicationDefVo;
import com.lanswon.qzsmk.vo.ApplicationTypeVo;
import com.lanswon.qzsmk.vo.SaveOrUpdateTellerVo;



/**
 * @author @ dy
 *
 */
public interface ApplicationTypeService
{
	/**
	 * 通过卡应用名称查询
	 * @param ato 
	 * @param appKindName
	 * @return返回是DwzPage<ApplicationTypeVo>
	 */
	DwzPage<ApplicationTypeVo> queryAppOpenRegByCodeKindname(ApplicationTypeVo ato, String appKindName);


	/**卡应用名称查询查询
	 * @param param
	 * @return返回是ApplicationTypeVo
	 */
	AppClassification queryApplicationTypeVoByKindname(String appKindName);
	/**插入
	 * @return
	 */
	int Insert(AppKind ak ,ApplicationTypeVo  ato);
	/**
	 * 查询所有卡应用名称
	 * @param ato 
	 * @param appKindName
	 * @return返回是DwzPage<ApplicationTypeVo>
	 */
	List<AppClassification> queryAppClassification ();
	/**
	 * 更新
	 * @return
	 */
	AppClassification   updateApplicationTypeVo(AppClassification cpv);
	/**动态获取卡应用类型名称
	 * @param 
	 * @return
	 */
	List<AppKind> queryAppIdByKindname();
   
	/**通过id查询
	 * @param 
	 * @return
	 */
	AppKind queryAppIdById(Integer appKindId);

	/**
	 * 应用定义页面查询功能
	 * @param request
	 * @return
	 */
	DwzPage<ApplicationDefVo> queryAppKindReg(HttpServletRequest request);

	
	/**
	 * 通过应用类型查询应用定义信息
	 * @param appType
	 * @return
	 */
	AppKind queryAppKindInfo(Integer appType);

	/**
	 * 插入新得应用
	 * @param request
	 * @return
	 */
	Map<String,Object> addAppDef(AppKind appKind);

	/**
	 * 根据名称查询
	 * @param request
	 * @return
	 */
//	Map<String, Object> queryAppKindInfoByAppName(HttpServletRequest request);

	/**
	 * 更新应用定义表
	 * @param appKind
	 */
	void updateAppDef(AppKind appKind);	
}
